blob: b965ffd0f64b4a18f033f0629e349a20665000d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "genetic/phenotype.h"
Genetic::Phenotype::Phenotype() :
tCreated( 0 ),
uId( 0 ),
bActive( false )
{
}
Genetic::Phenotype::~Phenotype()
{
}
bool Genetic::Phenotype::hasProperty( const Bu::String &sKey ) const
{
return hProp.has( sKey );
}
Bu::Variant Genetic::Phenotype::getProperty( const Bu::String &sKey ) const
{
return hProp.get( sKey );
}
void Genetic::Phenotype::setProperty( const Bu::String &sKey,
Bu::Variant vValue )
{
hProp.insert( sKey, vValue );
}
|